// pages/index1/index1.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    iconSize: [20, 30, 40, 50, 60, 70],
    iconColor: [
      'red', 'orange', 'yellow', 'green', 'rgb(0,255,255)', 'blue', 'purple'
    ],
    iconType: [
      'success', 'success_no_circle', 'info', 'warn', 'waiting', 'cancel', 'download', 'search', 'clear'
    ],
    msg:"hello,world",
    list:[
      { 
        id:1,
        name:"zhangsan",
        age:1
      },
      {
        id:2,
        name:"zhangsan2",
        age:2
      },
      {
        id:3,
        name:"zhangsan3",
        age:3
      },
    ]
  },
  // 生命周期事件

  // 自定义事件
  clickButton(event){
    console.log("button clicked",event);
  }
})